import request from '@/utils/request'

export const getGoodsByName = (name, categoryId) => {
  return request.get('/goods/list', {
    params: {
      name,
      categoryId
    }
  })
}
